<?php

/**
 * @author luhua
 */
class EmailConfigModel extends Model {

    protected $_validate = array(
        array('name', 'require', '{%v_name_is_required}'),
        array('smtp', 'require', '{%v_smtp_is_required}'),
        array('smtp_port', 'number', '{%v_smtp_port_is_required}'),
        array('email', 'email', '{%v_email_is_required}'),
        array('password', 'require', '{%v_password_is_required}'),
        array('email_name', 'require', '{%v_email_name_is_required}'),
    );



}

?>
